<table width="95%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td  height="5"></td>
  </tr>
</table>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="394" valign="top"><table width="384" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="<?php echo SITE_URL?>images/info_r2_c1.jpg" width="384" height="35" /></td>
      </tr>
    </table>
      <table width="384" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="<?php echo SITE_URL?>images/info_r5_c1.jpg">&nbsp;</td>
        </tr>
        <tr>
          <td align="center" background="<?php echo SITE_URL?>images/info_r5_c1.jpg">
          	<div id="mapObj" class="view" style="width:345px;height:235px"></div>
			<script src="<?php echo SITE_URL?>/js/map.js" type="text/javascript"></script>
			<SCRIPT LANGUAGE="JavaScript">
				<?php if($scene->getXy()){?>
					var points = point = new MPointOverlay(new MLatLng(<?php echo $scene->getXy();?>), "<?php echo $scene->getName();?>"); 
					mapObj.addOverlay(point, true); 
				<?php } ?>
			</script>
          </td>
        </tr>
        <tr>
          <td background="<?php echo SITE_URL?>images/info_r5_c1.jpg">&nbsp;</td>
        </tr>
      </table>
      <table width="384" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>images/info_r10_c1.jpg" width="384" height="9" /></td>
        </tr>
      </table></td>
    <td width="606" valign="top"><table width="594" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="<?php echo SITE_URL?>images/info_r1_c5.jpg" width="594" height="13" /></td>
      </tr>
    </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="<?php echo SITE_URL?>images/info_r6_c5.jpg"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td class="tit" height="30">景区简介:</td>
            </tr>
            <tr>
              <td class="word">&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $scene->getDes();?></td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>images/info_r11_c5.jpg" width="594" height="8" /></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>images/info_r1_c5.jpg" width="594" height="13" /></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="<?php echo SITE_URL?>images/info_r6_c5.jpg"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          	<?php
         	 	foreach ($comments->getResults() as $k =>$v):
         	 		$user = getUserById($v->getUserId());
         	?>
            <tr>
              <td height="30"><span class="yh"><?php echo $user['username']?></span><span class="tit">的不同看法：</span></td>
            </tr>
            <tr>
              <td><span class="word"><?php echo $v->getContent();?></span></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
            <?php endforeach;?>
          </table>
            <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="30" align="center" class="yh">
                	<?php if( $comments->haveToPaginate() ): ?>
					<?php echo link_to('上页','/scene/intro?id='.$id.'&page='.$comments->getPreviousPage()) ?>
			
					<?php foreach ( $comments->getLinks() as $page ): ?>
						<?php echo link_to_unless($page == $comments->getPage(),$page,'scene/intro?id='.$id.'&page='.$page) ?>
						<?php echo ($page != $comments->getCurrentMaxLink()) ? '-':'' ?>
					<?php endforeach; ?>
					<?php echo link_to('下页','scene/intro?id='.$id.'&page='.$comments->getNextPage()) ?>
					<?php endif; ?>
                </td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>images/info_r11_c5.jpg" width="594" height="8" /></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>images/info_r1_c5.jpg" width="594" height="13" /></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="<?php echo SITE_URL?>images/info_r6_c5.jpg">
          <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="30" class="tit">我也发表看法</td>
            </tr>
            <tr>
              <td align="center">
              <form id="commentsForm" name="commentsForm" method="post" action="/comments/update">
		        	<textarea name="content" cols="60" rows="5" class="textinfo"></textarea>
		         	<input type="hidden" name="object_type" value="scene">
		        	<input type="hidden" name="object_id" value="<?php echo $scene->getId()?>">
              </form>
              </td>
            </tr>
            <tr>
              <td align="center" height="50">
              	<img src="<?php echo SITE_URL?>images/info_r13_c6.jpg" width="48" height="32" onclick="$('form')[0].submit()" />
              </td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>images/info_r11_c5.jpg" width="594" height="8" /></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
